/**
 * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.ykkj.plant.base.type.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.ykkj.plant.base.type.entity.PlantType;
import com.ykkj.plant.base.type.dao.PlantTypeDao;

/**
 * 植物类型管理Service
 * @author Wrong
 * @version 2016-10-09
 */
@Service
@Transactional(readOnly = true)
public class PlantTypeService extends CrudService<PlantTypeDao, PlantType> {

	public PlantType get(String id) {
		return super.get(id);
	}
	
	public List<PlantType> findList(PlantType plantType) {
		return super.findList(plantType);
	}
	
	public Page<PlantType> findPage(Page<PlantType> page, PlantType plantType) {
		return super.findPage(page, plantType);
	}
	
	@Transactional(readOnly = false)
	public void save(PlantType plantType) {
		super.save(plantType);
	}
	
	@Transactional(readOnly = false)
	public void delete(PlantType plantType) {
		super.delete(plantType);
	}
	
}